gusucode.com > ​数字信号处理,包括:各种现有信号及随机信号的输入,从文件读取数据的输入 > Digital Signal Matlab ex1/u.m

    function [nu,u]=u(n)
u=[n>=0];
nu=n;